package com.yuban.dao;

import com.yuban.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    public List<User> getAllUser();

    public User getUserById(@Param("id") int id);
    //分页1
    public List<User> getUsersByLimit(Map<String,Integer> map);

    //分页
    public List<User> getUsersByRowBounds();

}
